let timeOut = null;
const fd = (callback) => {
    if (timeOut) clearTimeout(timeOut);
    timeOut = setTimeout(() => {
        callback()

    }, 1000);

}
export default fd;